#! /usr/bin/python

def fibonacci(n):
  n = int(n)
  if n==1:
    return 0
  elif n==2:
    return 1
  else:
    return int(fibonacci(n-1))+int(fibonacci(n-2))
    



def main():
  n = int(raw_input("Enter term number>> "))
  for i in range(n):
    print fibonacci(i+1)

if __name__ == '__main__':
  main()
